package com.example.evaluationserver.client;

import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "user-server")
@RequestMapping("/user-server")
public interface UserFeign {
    @ApiOperation(value = "token校验")
    @PostMapping(value = "/check")
    public Boolean check(@RequestParam("token") String token);
}
